mac80211: ralink: remove rt2x00soc.ko
authorShiji Yang <[email protected]>
Mon, 8 Dec 2025 11:02:33 +0000 (19:02 +0800)
committerChristian Marangi <[email protected]>
Mon, 8 Dec 2025 17:47:45 +0000 (18:47 +0100)
"rt2x00soc.c" was removed in 6.18 kernel backport[1]. Fix build error:

openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/mac80211-regular/backports-6.18/drivers/net/wireless/ralink/rt2x00/rt2x00soc.ko' is missing.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.18&id=7f6109086c9e7bbc78ff936dac45626870455c76
Fixes: 52a087374227 ("mac80211: update to version 6.18")
Signed-off-by: Shiji Yang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/21089
Signed-off-by: Christian Marangi <[email protected]>
package/kernel/mac80211/ralink.mk

index 6925d9c5496fb3aabd53295bda8c219c0cb43af9..087f91c6e28ab806aa03daa731424f9d694d6e5f 100644 (file)
@@ -107,9 +107,7 @@ define KernelPackage/rt2800-soc
 $(call KernelPackage/rt2x00/Default)
   DEPENDS += @(TARGET_ramips_rt288x||TARGET_ramips_rt305x||TARGET_ramips_rt3883||TARGET_ramips_mt7620) +kmod-rt2800-mmio +kmod-rt2800-lib
   TITLE += (RT28xx/RT3xxx SoC)
-  FILES := \
-       $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00soc.ko \
-       $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800soc.ko
+  FILES := $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800soc.ko
   AUTOLOAD:=$(call AutoProbe,rt2800soc)
 endef